package stud.mpgame.old.game;

import stud.mpgame.network.MessageDescription;

public class GameCommandDescription extends MessageDescription {

    private static final int ID = 1;

    public static final int GAME_COMMAND_ID = 0;

    public int getID() {
        return ID;
    }

    private static GameCommandDescription instance = null;

    private GameCommandDescription() {
        this.registerUserObject(GAME_COMMAND_ID, GameCommand.class);
    }

    public static GameCommandDescription getInstance() {
        if(instance == null){
            instance = new GameCommandDescription();
            //todo
            MessageDescription.registerDescription(instance);
        }
        return instance;
    }

}
